package com.yunxi.service.localService.customer.impl;

import com.yunxi.core.service.ServiceImplPlus;
import com.yunxi.customer.pojo.CustomCreditReportingVO;
import com.yunxi.dao.customer.CustomCreditReportingMapper;
import com.yunxi.model.customer.CustomCreditReporting;
import com.yunxi.service.localService.customer.CustomCreditReportingService;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 个人征信信息表 服务实现类
 * </p>
 *
 * @author 
 * @since 2019-08-20
 */
@Service
public class CustomCreditReportingServiceImpl extends ServiceImplPlus<CustomCreditReportingMapper, CustomCreditReporting> implements CustomCreditReportingService {

   @Override
   public String getVehicleNameByVehicleCode(String vehicleModel) {

     return baseMapper.getVehicleNameByVehicleCode(vehicleModel);
   }

   @Override
   public String getVehiclePriceByVehicleCode(String vehicleModel, Date createTime) {
      return baseMapper.getVehiclePriceByVehicleCode(vehicleModel,createTime);

   }

   @Override
   public List<CustomCreditReportingVO> getByOrderCustomerNo(String orderNo) {
      return baseMapper.getByOrderCustomerNo(orderNo);
   }

   @Override
   public List<String> getVehiclePriceByVehicleCode2(String vehicleModel, Date createTime) {
      return baseMapper.getVehiclePriceByVehicleCode2(vehicleModel,createTime);
   }
}
